package day03.ext;

public class Super {
    public static void main(String[] args) {
        Super obj = new Sub();
        obj.test();
    }
    private void test(){
        System.out.println("Super.test");
    }
}
class Sub extends Super{
    public void test(){
        System.out.println("Sub.test");
    }
}
